package com.example.check_in.service;

import com.example.model.check_in.CheckIn;
import com.example.model.check_in.OrderDo;
import com.example.model.check_in.ScheduleCheckIn;
import com.example.model.payment.PaymentResultVo;

import java.math.BigDecimal;
import java.util.List;

public interface ScheduleService {

    int insert(ScheduleCheckIn scheduleCheckIn);

    ScheduleCheckIn get(Long checkInId);

    List<ScheduleCheckIn> list(ScheduleCheckIn scheduleCheckIn);

    int update(ScheduleCheckIn scheduleCheckIn);

    // 开始预订单
    ScheduleCheckIn startSchedule();
    // 录入信息并生成订单信息
    CheckIn enterInfo(OrderDo orderDo);
    // 确认信息
    ScheduleCheckIn confirmInfo();
    // 支付定金
    PaymentResultVo makeDepositPayment(String paymentType, BigDecimal pay);
}
